package com.bishe.bishe.entity;

public class TextFilter {

    private String[] words = {"傻", "禽", "畜","操","奶子","尼玛"};
    public int Filter(String Content){
        if (Content==null){
            return 0;
        } else {
            for (String dword : words) {
                if (Content.contains(dword)) return 1;
            }
        }
        return 0;
    }
}
